package jdmx.framework.common.envelopes;

import jdmx.framework.common.Envelope;
import jdmx.library.da.DataTable;
import jdmx.library.da.IdList;
import jdmx.library.da.SqlStatement;

public class EnvelopeRough extends Envelope {
	public EnvelopeRough() {
		envelopeType = "rough";
	}
	
	/**
	 * DataTable
	 * 
	 * obiectul "DataTable" intors de metoda "read"
	 */
	public DataTable getDatatable() { return (DataTable) getItem("DataTable");	}
	public void setDatatable(DataTable datatable) { setItem("DataTable", datatable); }
	
	/**
	 * SqlStatement
	 * 
	 * instructiunea sql trimisa spre executie.
	 */
	public SqlStatement getSqlStatement() { return (SqlStatement) getItem("SqlStatement");	}
	public void setSqlStatement(SqlStatement sqlStatement) { setItem("SqlStatement", sqlStatement); }
	
	/**
	 * IdList
	 * 
	 * lista de id-uri folosite la stergere
	 * si intoarse la creare 
	 */
	public IdList getIdList() { return (IdList) getItem("IdList");	}
	public void setIdList(IdList idList) { setItem("IdList", idList); }
}

